/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Slave;

/**
 *
 * @author Mr Bao
 */
public class SlaveInfo {

    private int id;
    private String address;
    private int port;
    private long currentConnections;

    public SlaveInfo(int id, String address, int port) {
        this.id = id;
        this.address = address;
        this.port = port;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getCurrentConnections() {
        return currentConnections;
    }

    public void setCurrentConnections(long currentConnections) {
        this.currentConnections = currentConnections;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
